<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>

<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
<meta name="format-detection" content="telephone=no,email=no,adress=no" />
<META HTTP-EQUIV="luxiaoqing" CONTENT="no-cache">


<jsp:include page="../lbi/merCommon.jsp"></jsp:include>

<title>69圈城-商家</title>
</head>

<body>
<!--头部-->
<div class="business_top">
	<jsp:include page="../lbi/merHead.jsp"></jsp:include>
    <div class="clear"></div>
</div>
<!--头部end-->	

<div class="clear4"></div>

<!--中间-->
<div class="individual_form-center">
	<!--左边导航部分-->
	<jsp:include page="../lbi/merLeft.jsp"></jsp:include>
    <!--左边导航部分end-->
    
    <!--右边详情部分-->
    <div class="individual_form-center-right">
	   	<!--所在位置-->
    	<div class="individual_form-center-right-position">
        	<span class="span01">
            	商家信息 
            </span>
            
            <span class="span01">
            	>
            </span>
            
            <span class="span01">
            	基本信息
            </span>
        </div>
        <!--所在位置end-->
        
        <div class="clear"></div>
        
        <div class="individual_form-center-right-details">
        	<div class="individual-form-essential_info">
				<div class="individual-form-essential_info-form">
					<form method='post' id="inform_id" >
						<input type="hidden" name="shopId" value="${merchantEntity.shopId }">
				    	<div class="individual-form-essential_info-form-demo">
				        	<div class="individual-form-essential_info-form-demo-span">
				            	商家类型
				            </div>
				            
				            <div class="individual-form-essential_info-form-demo-input">
				            	<input type="text" style='color:#d2d4d3' value='${merchantEntity.shopTypeName }${merchantEntity.shopTypeTwoName }' disabled="disabled"/>
				            </div>
				            
				            <div class="clear"></div>
				        </div>
			        
				        <div class="individual-form-essential_info-form-demo">
				        	<div class="individual-form-essential_info-form-demo-span">
				            	门店名称
				            </div>
				            
				            <div class="individual-form-essential_info-form-demo-input">
				            	<input type="text" style='color:#d2d4d3' value='${merchantEntity.shopName }' disabled="disabled"/>
				            </div>
				
				            <div class="clear"></div>
				        </div>
			        
				        <div class="individual-form-essential_info-form-demo">
				        	<div class="individual-form-essential_info-form-demo-span">
				            	经营者
				            </div>
				            
				            <div class="individual-form-essential_info-form-demo-input">
				            	<input type="text" value='${merchantEntity.bossName }' name='bossName'/>
				            </div>
				            
				            <div class="individual-form-essential_info-form-demo-img">
				            	<img src="<c:url value="/images/11.png"/>"/>
				            </div>
				            
				            <div class="clear"></div>
				        </div>
			        
				        <div class="individual-form-essential_info-form-demo">
				        	<div class="individual-form-essential_info-form-demo-span">
				            	手机号码
				            </div>
				            
				            <div class="individual-form-essential_info-form-demo-input">
				            	<input type="text" value='${merchantEntity.mobile }' name='mobile'/>
				            </div>
				            
				            <div class="individual-form-essential_info-form-demo-img">
				            	<img src="<c:url value="/images/11.png"/>"/>
				            </div>
				            
				            <div class="clear"></div>
				        </div>
			        
				        <div class="individual-form-essential_info-form-demo">
				        	<div class="individual-form-essential_info-form-demo-span">
				            	门店电话
				            </div>
				            
				            <div class="individual-form-essential_info-form-demo-input">
				            	<input type="text" value='${merchantEntity.telphone }' name='telphone'/>
				            </div>
				            
				            <div class="individual-form-essential_info-form-demo-img">
				            	<img src="<c:url value="/images/11.png"/>"/>
				            </div>
				            
				            <div class="clear"></div>
				        </div>
			        
				        <div class="individual-form-essential_info-form-demo">
				        	<div class="individual-form-essential_info-form-demo-span">
				            	详细地址
				            </div>
				            
				            <div class="individual-form-essential_info-form-demo-input">
				            	<input type="text" value='${merchantEntity.addressDetail }' name='addressDetail'/>
				            </div>
				            
				            <div class="individual-form-essential_info-form-demo-img">
				            	<img src="<c:url value="/images/11.png"/>"/>
				            </div>
				            
				            <div class="clear"></div>
			        	</div>
					
						<div class="individual-form-essential_info-form-demo">
				        	<div class="individual-form-essential_info-form-demo-span">
				            	人均参考消费
				            </div>
				            
				            <div class="individual-form-essential_info-form-demo-input">
				            	<input type="text" value='${merchantEntity.avgPrice }' name='avgPrice'/>
				            </div>
				            
				            <div class="individual-form-essential_info-form-demo-img">
				            	<img src="<c:url value="/images/11.png"/>"/>
				            </div>
				            
				            <div class="clear"></div>
				        </div>
				        <div class="individual-form-essential_info-form-demo">
				        	<div class="individual-form-essential_info-form-demo-span">
				            	人均优惠价
				            </div>
				            
				            <div class="individual-form-essential_info-form-demo-input">
				            	<input type="text" value='${merchantEntity.perCapitaPrice }' name='perCapitaPrice'/>
				            </div>
				            
				            <div class="individual-form-essential_info-form-demo-img">
				            	<img src="<c:url value="/images/11.png"/>"/>
				            </div>
				            
				            <div class="clear"></div>
			        	</div>
				        
			        	<div class="clear5"></div>
			        
				        <div class="individual-form-essential_info-form-sub">
				        	<div class="individual-form-essential_info-form-sub-confirm">
				            	<input type="button" value="保存" id="saveInform"/>
				            </div>
				            
				            <div class="clear"></div>
				        </div>
			        </form>
			        <div class="clear"></div>        
			    </div>
			</div>
		</div>
	</div>
    <!--右边详情部分end-->
    
    <div class="clear"></div>
</div>
<!--中间end-->


<div class="clear2"></div>

<!--底部-->
<div class="business_foot">
	<jsp:include page="../lbi/merFooter.jsp"></jsp:include>
</div>

<script type="text/javascript">
	$("#jiben").addClass("individual_form-center-left-nav-demo-02_dj");
	
	var _serviceURL='/69mark/merchant';
	
    $("#saveInform").click(function(){
		$.ajax({
	        type : "POST",
	          url : _serviceURL+"/toUpdateInform..do",
	          cache : false,
	          data:$('#inform_id').serialize(),
	          dataType : 'json',
	          success : function(data) {
	              if (data == 1) {
	                  alert("修改成功");
	              }
	          }
	    })
	})
	
	
	
</script>

<!--底部end-->

<div class="clear8"></div>
</body>
</html>
